package com.ylxl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ylxl.entity.ExceptionaLabor;
import com.ylxl.entity.ExceptionaLaborDetail;
import com.ylxl.entity.reponse.EmployeeLaborVO;
import com.ylxl.entity.reponse.ExceptionaLaborVO;
import com.ylxl.entity.request.ExceptionaLaborCmdOrMdy;
import com.ylxl.entity.request.QueryEmployeeLabor;
import com.ylxl.entity.request.QueryExceptionaLabor;
import com.ylxl.entity.request.StatusRequest;

import java.util.List;

/**
 * 用户 业务层
 *
 */
public interface IExceptionaLaborService extends IService<ExceptionaLabor> {

    List<ExceptionaLabor> selectLabelList(QueryExceptionaLabor queryExceptionaLabor);

    int insertExceptionaLabor(ExceptionaLaborCmdOrMdy exceptionaLaborCmdOrMdy);
    int updateExceptionaLabor(ExceptionaLaborCmdOrMdy exceptionaLaborCmdOrMdy);
    ExceptionaLaborVO selctById(Integer id);
    int deleteByIds(List<Integer> ids);

    List<ExceptionaLaborDetail> selctByDetailId(Integer laborId);

    int enableOrDisable(StatusRequest statusRequest);
}
